﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Model
{
  

    public class PinNeiGoAttribute_fields
    {
        /// <summary>
        /// 
        /// </summary>
        public int biz_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string brand_neigou_param { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string create_order_msg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string create_order_token { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int current_front_env { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mkt_domain { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mkt_tr_sc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mkt_tr_token { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int original_front_env { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int page_from { get; set; }
    }

    //public class GoodsItem
    //{
    //    /// <summary>
    //    /// 
    //    /// </summary>
    //    public string goods_id { get; set; }
    //    /// <summary>
    //    /// 
    //    /// </summary>
    //    public int sku_id { get; set; }
    //    /// <summary>
    //    /// 
    //    /// </summary>
    //    public int sku_number { get; set; }
    //}

    public class PinNeiGoOrder
    {

        public PinNeiGoOrder() 
        {
            activity_id = "";
            activity_id = "";
            attribute_fields = new PinNeiGoAttribute_fields();
            attribute_fields.biz_type = 0;
            attribute_fields.brand_neigou_param = "";
            attribute_fields.create_order_msg = "";
            attribute_fields.create_order_token = "";
            attribute_fields.current_front_env = 20;
            attribute_fields.mkt_domain = "48";
            attribute_fields.mkt_tr_sc = "business_intra_sales";
            attribute_fields.original_front_env = 0;
            attribute_fields.page_from = 100005;
            biz_type = 0;
            duoduo_type = 0;
            is_app = "0";
            page_from = 100005;
            page_id = "";
            pay_app_id = 2;
            source_channel = "0";
            source_type = 0;
            version = 0;
        }
        /// <summary>
        /// 
        /// </summary>
        public string activity_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long address_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string anti_content { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public PinNeiGoAttribute_fields attribute_fields { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int biz_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int duoduo_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<GoodsItem> goods { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string group_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string is_app { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int page_from { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string page_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int pay_app_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string source_channel { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int source_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int version { get; set; }
    }

}
